package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @program: day0513-monthlx
 * @ClassName Goods
 * @description:
 * @author: 段阳
 * @create: 2024-05-14 14:21
 **/
@Data
@TableName("tb_goods")
public class Goods {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String goodId;
    private String goodName;
    private String goodPhoto;
    private String goodVideo;
    private Integer tid1;
    private Integer tid2;
    private Boolean recom;
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
    private Boolean goodStatus;
    @TableField(exist = false)
    private List<GoodImg> imgList;
    @TableField(exist = false)
    private GoodMsg goodsMsg;
    @TableField(exist = false)
    private GoodInfo goodsInfo;
    @TableField(exist = false)
    private List<Spec> specsList;
    @TableField(exist = false)
    private List<Tactics> tactics;


}